﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.ErrorCode
{
    /// <summary>
    /// API 封装对象
    /// </summary>
    /// <typeparam name="T">模型</typeparam>
    public class ApiResult<T>
    {
        /// <summary>
        /// 返回码
        /// </summary>
        public ApiEnum Code {  get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }
    }
}
